<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<h2><s:text name="editPosition.header"></s:text></h2>

<s:form action="editPosition">

	<s:textfield key="positionBean.positionName"></s:textfield>
	<s:textarea rows="3" cols="40" key="positionBean.positionDescription"></s:textarea>

	<s:if test="positionBean.positionValue == null">
		<s:textfield key="positionBean.positionValue" />
	</s:if>
	<s:else>
		<s:textfield key="positionBean.positionValue"
			value="%{getText('format.money',{positionBean.positionValue})}" />
	</s:else>
	<!--<s:textfield key="positionBean.positionValue"></s:textfield>-->

	<s:hidden name="positionId" value="%{positionId}"></s:hidden>
	<s:submit></s:submit>
</s:form>
